import request from '@/utils/request'

//查询
export function organizationTree(data) {
	return request({
		url: '/admin/user/organization/organizationTree',
		method: 'get',
		params: data
	})
}

//新增
export function organizationSave(data) {
	return request({
		url: '/admin/user/organization/organizationSave',
		method: 'post',
		data
	})
}

//修改
export function organizationUpdate(data) {
	return request({
		url: '/admin/user/organization/organizationUpdate',
		method: 'post',
		data
	})
}

//删除
export function organizationRemove(data) {
	return request({
		url: '/admin/user/organization/organizationRemove',
		method: 'DELETE',
		params: data
	})
}

